const rootUrl = 'http://localhost:3000';
// const rootUrl = 'http://haiyr377.cn:3777';

const ApiList = {
  userlogin: '/users/login',
}

const Url = function () {
  let url = {};
  for (let i in ApiList) {
    url[i] = rootUrl + ApiList[i];
  }
  return url;
}

module.exports = {
  API: Url()
}

